package com.service;

import com.entity.User;

public interface UserService {
    /**
     * 注册 1.检验帐户唯一性
     * @param user
     * @return
     */
    public User register(User user) ;

    /**
     * 登陆
     * @param user
     * @return
     */
    public User login(User user);
}
